package com.ztomorrow.ying_cun_plus.service;

import com.ztomorrow.ying_cun_plus.dto.resp.ImgVerifyCodeRespDto;
import com.ztomorrow.ying_cun_plus.dto.resp.RestResp;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ResourceService {
    RestResp<ImgVerifyCodeRespDto> getImgVerifyCode() throws IOException;

    RestResp<String> uploadImage(MultipartFile file) throws IOException;
}
